﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Util.SystemModel;

namespace Util.Interface.System
{
    public interface IUser: IDependency
    {
        /// <summary>
        /// 用户登录
        /// </summary>
        /// <param name="userName">用户名</param>
        /// <param name="password">密码</param>
        /// <returns></returns>
         UserModel UserLogin(string userName, string password);
        /// <summary>
        /// 根据用户id返回用户信息
        /// </summary>
        /// <param name="userId">用户id</param>
        /// <returns></returns>
        UserModel GetUserModel(string userId);

    }
}
